package com.android.smsmessing.provider;

import android.net.Uri;
import android.provider.BaseColumns;

public class SMS {
	
	public static final String AUTHORITY = "com.android.smsmessing.provider";
	 public static final class Message implements BaseColumns{
	        /**
	         * The content:// style URL for this table
	         */
	        public static final Uri CONTENT_URI
	                = Uri.parse("content://" + AUTHORITY + "/message");

	        
	        public static final String CONTENT_TYPE = "vnd.android.cursor.dir/vnd.smsming.note";
	        
	        public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/vnd.smsming.note";
	        /**
	         * The default sort order for this table
	         */
	        public static final String DEFAULT_SORT_ORDER = "modified DESC";

	        
	        /**
	         * 姓名
	         * <P>Type: VARCHAR</P>
	         */
	        public static final String NAME = "name";

	        /**
	         * 电话
	         * <P>Type: VARCHAR</P>
	         */
	        public static final String ADDRESS = "address";
	        /**
	         * 摘要
	         * <P>Type: TEXT</P>
	         */
	        public static final String SUMMARY = "summary";
	        /**
	         * 总数
	         * <P>Type:INTEGER </P>
	         */
	        public static final String TOTAL= "total";
	        /**
	         * 照片
	         * <P>Type: INTEGER</P>
	         */
	        public static final String PHOTO = "photo";
	        /**
	         * The timestamp for when the note was created
	         * <P>Type: INTEGER (long)</P>
	         */
	        public static final String CREATED_DATE = "created";

	        /**
	         * The timestamp for when the note was last modified
	         * <P>Type: INTEGER (long)</P>
	         */
	        public static final String MODIFIED_DATE = "modified";
	 }
}
